package cn.edu.hunau.thread;

import org.junit.Test;

/**
 * @author hb
 * @date 2025-08-18 14:42:07
 */
public class TestAccount {

    public static void main(String[] args) {
        Account account=new Account(1, 1000);
        DrawThread t1=new DrawThread("孙悟空", account, 800);
        DrawThread t2=new DrawThread("猪八戒", account, 800);
        t1.start();
        t2.start();
    }
}

